#include<stdio.h>

int main()
{
	int n;
	scanf_s("%d", &n);
	int a = n / 10;
	printf("%d\n", n - a);
	return 0;
}